/*!
 * \file UapEventGapMediaTransmissionFinishedInd.h
 * \brief Event carrying message GapMediaTransmissionFinishedInd
 */

#ifndef SGW_UAP_EVENT_GAP_MEDIA_TRANSMISSION_FINISHED_IND_H
#define SGW_UAP_EVENT_GAP_MEDIA_TRANSMISSION_FINISHED_IND_H

#include "EventData.h"
#include "UapGlobals.h"
#include "GAP.pb.h"

namespace tsc
{
namespace sgw
{

using GatewayApplicationPart::GapMediaTransmissionFinishedInd;

/**
 * The event indicating MediaGateway has finished transmission
 * It carries received GapMediaTransmissionFinishedInd message
 */
class UapEventGapMediaTransmissionFinishedInd : public common::EventData
{
public:

    UapEventGapMediaTransmissionFinishedInd(uint32_t connectionId) :
		EventData(UAP_GAP_MEDIA_TRANSMISSION_FINISHED_IND),
		mConnectionId(connectionId)
	{

	}

	virtual ~UapEventGapMediaTransmissionFinishedInd()
	{

	}

	uint32_t getConnectionId()
	{
	    return mConnectionId;
	}

private:
	uint32_t mConnectionId;
};

} // namespace sgw
} // namespace tsc

#endif // SGW_UAP_EVENT_GAP_MEDIA_TRANSMISSION_FINISHED_IND_H
